import { postMethod, getMethod } from "../../../../../utils/http";
// 运营商列表
export async function getYList() {
    return await postMethod(`xyxy/wxapp/web/schoolCard/carrierList`, {});
}
export async function getList(size,current,carrierId) {
    return await postMethod(`xyxy/wxapp/web/schoolCard/queryMobile?size=${size}&current=${current}&carrierId=${carrierId}`, {});
}


export async function add(data = {}) {
    return await postMethod(`xyxy/wxapp/web/topCard/save`, {
        params: {
            ...data,
        }
    });
}

export async function queryItem(id) {
    return await postMethod(`xyxy/wxapp/web/topCard/detail?id=${id}`, {});
}

export async function edit(params) {
    return await postMethod(`xyxy/wxapp/web/topCard/edit`, {
        params,
    });
}

//p批量删除
export async function delAll(ids) {
    return await postMethod(`xyxy/wxapp/web/schoolCard/delMobile?ids=${ids}`, {
       
    });
}

// 

